Window
Help
ptTemplate
bsp_led.c
bsp_led.h
2
?#ifndef
#define
LED H
main.c
LED H
4
#include "stm32f10x.h"
??LED3???GP1o??
???????????????????LED??*/
?????????????????*
#define LED3 GPIO PORT
#define
#define
LED3 GPIO CLK
GPIOC
LED3 GPIO PIN
RCC APB2Periph_GPIOC
/* GPIO??*/
GPIO Pin_13
/*GPIO??*/
V* GPIO??*/
/* LED????????,?????????????
13
#define LED3_ON()
GPIO_ ResetBits(LED3_GPIO_PORT, LED3_GPIO_PIN)
/1????
14
#define LED3 OFF()
GPIO SetBits(LED3_GPTO PORT, LED3_GPIO_PIN)
//????
15
/????*
17
18
void LED_GPIO_Config(void)
LEDH */
20
#endif